home *** CD-ROM | disk | FTP | other *** search
/ PC Active 2009 July/August / PC Active NR.227.iso / Software / Games / windows / Freeciv-2.1.9-win32-gtk2-setup.exe / doc / INSTALL.Cygwin < prev    next >
Encoding:
Text File  |  2009-03-25  |  2.5 KB  |  76 lines

  1. Cygwin installation notes
  2. =========================
  3.  
  4. This is doc/INSTALL-Cygwin, which contains specific Freeciv installation
  5. information for the Cygwin platform.
  6.  
  7. A translated version of this file may be in language specific
  8. subdirectories of doc/.
  9.  
  10. See also the generic installation notes in INSTALL.
  11.  
  12. Cygwin is a free Unix variant for MS Windows operating systems.
  13. Recent versions come with an X server, XFree86.  This version of
  14. Freeciv has been tested with Cygwin DLL version 1.3.16 and its
  15. X server version 4.2.0.
  16.  
  17. To install Freeciv for Cygwin:
  18.  
  19. a) Install or update your Cygwin using the "Install Cygwin Now!" link
  20.    on http://www.cygwin.com/; many packages are required, and some
  21.    are a good idea to have; examples:
  22.  
  23.       gcc, autoconf, automake, imlib, xpm, gettext, iconv, sdl, xfree
  24.   
  25.   If you have the disk space, install everything, just to be sure.
  26.  
  27. b) If you want the GTK+ 1.2 client:
  28.  
  29.    Install the GTK+ libraries.  An easy way to do this is to use
  30.    Hansom Young's binary distribution called "Cygnome", linked to
  31.    from http://www.cygwin.com/.  Follow the Cygnome installation procedure.
  32.  
  33. c) Get a Freeciv source tree (this file is in its top directory).
  34.    Put it in a temporary place like /tmp.  cd into it.
  35.    To select the Xaw client, run
  36.  
  37.       ./autogen.sh --with-xaw  [any other options e.g. --prefix=...]
  38.  
  39.    To select the GTK+ client, make sure gtk-config and the GTK+ DLLs
  40.    are in your $PATH.
  41.    They will normally be in /opt/gnome/bin, so in bash you'd do
  42.  
  43.       PATH=${PATH}:/opt/gnome/bin; export PATH
  44.       ./autogen.sh   [any other options e.g. --prefix=...]
  45.  
  46.    If you get messages of missing or outdated components, install them.
  47.    If you still have problems, read the RT tickets
  48.  
  49.      http://rt.freeciv.org/Ticket/Display.html?id=2626
  50.      http://rt.freeciv.org/Ticket/Display.html?id=2705
  51.  
  52. d) Compile and install Freeciv:
  53.  
  54.       make
  55.       make install
  56.  
  57. You should now have bin/civserver.exe and bin/civclient/exe in the
  58. directory you installed Freeciv into (/usr/local by default).
  59. If 'make install' succeeds, the source code tree can be removed.
  60.  
  61. e) Test the reults:
  62.  
  63.     /path/to/civserver.exe  [any additional options]
  64.  
  65.   will start the server, but you only need it for private games.
  66.   To start the client, you need to run the X server (this can be
  67.   done by typing 'startx'), then into a terminal type
  68.  
  69.     /path/to/civclient.exe  [any additional options]
  70.  
  71.   If you installed the GTK+ client, make sure the GTK+ DLLs
  72.   are in your path (see above).
  73.  
  74. More details on using server and client are in doc/README.
  75.  
  76.